import React, { PureComponent } from 'react';
import { Spin } from 'antd';

import styles from './BigImageUploading.less';

export default class BigImageUploading extends React.Component {
  state = {};

  render() {
    const size = this.props.size ? this.props.size : 'normal';
    return (
      <div>
        {size == 'large' ? (
          <div className={styles.imageContainer1}>
            <div className={styles.imageBox1}>
              <div className={styles.imageFile1}>
                <div>
                  <Spin />
                </div>
                <div>上传中</div>
              </div>
            </div>
          </div>
        ) : (
          <div className={styles.imageContainer}>
            <div className={styles.imageBox}>
              <div className={styles.imageFile}>
                <div>
                  <Spin />
                </div>
                <div>上传中</div>
              </div>
            </div>
          </div>
        )}
      </div>
    );
  }
}
